Package com.cisco.pt.ipc.sim
Interface LoopbackManager
- All Known Implementing Classes:
LoopbackManagerImpl
Information provided by the PKI file:
\class LoopbackManager
\brief LoopbackManager is the process that manages loopback interfaces.
\example network().getDevice("Router0").getProcess("LoopbackManager")
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaddLoopback(int loopbackNumber) Information provided by the PKI file:getLoopback(int loopbackNumber) Information provided by the PKI file:getLoopbackAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:booleanremoveLoopback(int loopbackNumber) Information provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Method Details
-
getLoopback
Information provided by the PKI file:
\brief Returns the loopback interface at the specified loopback interface number. \param loopbackNumber, the loopback interface number of interest. \return RouterPort, the RouterPort object at the specified loopback interface number.- Parameters:
loopbackNumber- Takes in a parameter of loopbackNumber- Returns:
- RouterPort Returns a RouterPort
-
getLoopbackAt
Information provided by the PKI file:
\brief Returns the loopback interface at the specified index. \param index, the index of the loopback interface of interest. \return RouterPort, the RouterPort object at the specified index.- Parameters:
index- Takes in a parameter of index- Returns:
- RouterPort Returns a RouterPort
-
addLoopback
boolean addLoopback(int loopbackNumber) Information provided by the PKI file:
\brief Adds a loopback interface with the specified loopback interface number. \param loopbackNumber, the loopback interface number. \return bool, true if successful, otherwise false.- Parameters:
loopbackNumber- Takes in a parameter of loopbackNumber- Returns:
- boolean Returns a boolean
-
removeLoopback
boolean removeLoopback(int loopbackNumber) Information provided by the PKI file:
\brief Removes the loopback interface with the specified loopback interface number. \param loopbackNumber, the loopback interface number of interest. \return bool, true if successful, otherwise false.- Parameters:
loopbackNumber- Takes in a parameter of loopbackNumber- Returns:
- boolean Returns a boolean
-
getLoopbackCount
int getLoopbackCount()Information provided by the PKI file:
\brief Returns the number of loopback interfaces. \return int, the number of loopback interfaces.- Returns:
- int Returns a int
-